x86-64: more fixes for Fam10 MMCONF enabling
authorKeir Fraser <keir@xen.org>
Mon, 8 Nov 2010 15:32:05 +0000 (15:32 +0000)
committerKeir Fraser <keir@xen.org>
Mon, 8 Nov 2010 15:32:05 +0000 (15:32 +0000)
commit63296c53deb5b68df25079ae68c2979a03c39deb
treee1a12741467a8274881c1a987add9d0e1773c617
parentae27bff616b082f170b8cb8b4b4416e517d38939
x86-64: more fixes for Fam10 MMCONF enabling

Unfortunately it turned out the original Linux code had more issues:
We want to place the region above 4G in any case (even if TOM2 isn't
enabled or invalid), and the base mask definition was improperly typed
(thus causing shifts by FAM10H_MMIO_CONF_BASE_SHIFT to produce other
than the intended result). Fixing this in turn allowed simplifying the
MMIO region detection code, as regions ending below TOM2 now aren't of
interest anymore.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/x86_64/mmconf-fam10h.c
xen/include/asm-x86/msr-index.h